package singleton;

import java.util.jar.Attributes.Name;

public class Chairman {
	private static Chairman instance;
	private String name;
	private Chairman(String name) {
		this.name = name;
	}
	public static Chairman getInstance(String name) {
		if(instance == null && !name.equals("")) 
			instance = new Chairman(name);
		return instance;
	}
	public String getName() {
		return this.name;
	}

}
